package com.second.app.thread.volatiled;

/**
 * @Author GYZ
 * <pre>
 *
 * </pre>
 */
public class Run {

    public static void main(String[] args) {
        PrintString printString = new PrintString();
        Thread thread = new Thread(printString);
        thread.start();
        System.out.println("我要停止它！");
        printString.setContinuePrint(false);
    }
}
